Piwik\ArchiveProcessor\Loader A

Total Complexity 74
Dependencies 24
Dependents 5
Total lines 492
Lines of code 287
Logical lines of code 176
Comment lines 89
Methods 23
Properties 7

Methods 23

Method Rating Maintainability Complexity Lines of code
prepareArchiveImpl()
A
44 14 45
shouldForceInvalidatedArchive()
S
53 7 23
getReportsToInvalidate()
S
57 6 17
canSkipArchiveForSegment()
S
53 5 22
canSkipThisArchive()
S
58 5 15
invalidatedReportsIfNeeded()
S
58 4 15
getMinTimeArchiveProcessed()
S
58 4 15
prepareAllPluginsArchive()
S
59 4 14
prepareCoreMetricsArchive()
S
53 3 24
getSitesNotUsingTracker()
S
62 3 11
isArchivingForcedToTrigger()
S
64 3 10
getIdSitesToArchiveWhenNoVisits()
S
64 2 10
determineIfArchivePermanent()
S
67 2 8
loadExistingArchiveIdFromDb()
S
65 2 9
doesRequestedPluginIncludeVisitsSummary()
S
68 2 7
shouldArchiveForSiteEvenWhenNoVisits()
S
75 1 4
isThereSomeVisits()
S
81 1 3
prepareArchive()
S
65 1 10
isWebsiteUsingTheTracker()
S
72 1 5
mustProcessVisitCount()
S
80 1 3
hasSiteVisitsBetweenTimeframe()
S
71 1 5
getArchivingDepth()
S
80 1 3
__construct()
S
65 1 9